package com.ruoyi.marketing.client;

import com.dtflys.forest.annotation.Body;
import com.dtflys.forest.annotation.Header;
import com.dtflys.forest.annotation.Query;
import com.dtflys.forest.annotation.Request;
import com.ruoyi.marketing.pojo.bo.CreativityBo;
import com.ruoyi.marketing.pojo.vo.CreativityVo;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @description: ________
 * ___  __/______________
 * __  /_ ___  __ \  ___/
 * _  __/ __  /_/ / /__
 * /_/    _  .___/\___/
 * /_/
 * @author: www.fpcs.top
 * @create: 2021-05-27 16:40
 */
public interface CreativityClient {

    @Request(url = "https://ad.oceanengine.com/open_api/2/report/creative/get/",
            headers = {
                    "Access-Token: ${token}"
            }
    )
    CreativityVo getCreativityData(@Body CreativityBo creativityBo,@Query("token") String token);

}